package com.ml.mall.service.coupon.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ml.mall.bean.vo.coupon.CupponDetailVO;
import com.ml.mall.entity.coupon.SysCouponRecord;
import com.ml.mall.mapper.coupon.SysCouponRecordMapper;
import com.ml.mall.service.coupon.SysCouponRecordService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class SysCouponRecordServiceImpl extends ServiceImpl<SysCouponRecordMapper, SysCouponRecord> implements SysCouponRecordService{
    @Resource
    private SysCouponRecordMapper sysCouponRecordMapper;

    @Override
    public List<CupponDetailVO> cupponDetailVOList(Long oid,Long supplierId) {
        return sysCouponRecordMapper.cupponDetailVOList(oid,supplierId);
    }

}
